import { IResponse } from '@/interfaces/common.interface';
import httpRequest from '../http';

function uploadFile(formData: FormData): Promise<IResponse> {
  return httpRequest.post('/upload-file', formData);
}

export default {
  uploadFile
};
